import { breakpointsAntDesign, useBreakpoints } from '@vueuse/core'
import type { RandomTestingStore } from '.'

export class BreakpointStore {
  constructor(rootStore: RandomTestingStore) {
    this.rootStore = rootStore
  }

  rootStore

  localStorageId = 'MManpower'
  setLocalStorageId(localStorageId: string) {
    this.localStorageId = localStorageId
  }

  breakpoints = useBreakpoints(breakpointsAntDesign)

  isPc = this.breakpoints.greater('md')
}
